package com.api.demo.dto.sync;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.hibernate.validator.constraints.URL;

import javax.validation.constraints.NotBlank;

/**
 * @description: 同步创客DTO
 * @author: yanming
 * @createDate: 2022/10/04 10:29
 */
@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel(description = "同步创客DTO")
public class SyncDataWorkerDTO extends SyncDataDTO {
    private static final long serialVersionUID = -3352521987775590660L;


//    @ApiModelProperty(value = "企业ID", required = true)
//    @NotBlank(message = "企业ID不能为空")
//    private String companyId;

//    @ApiModelProperty(value = "服务商统一信用代码", required = true)
//    @NotBlank(message = "服务商统一信用代码不能为空")
//    private String taxCreditCode;

    @ApiModelProperty(value = "姓名", required = true)
    @NotBlank(message = "姓名不能为空")
    private String name;

    @ApiModelProperty(value = "手机号", required = true)
    @NotBlank(message = "手机号不能为空")
    private String phone;

    @ApiModelProperty(value = "身份证号码", required = true)
    @NotBlank(message = "身份证号码不能为空")
    private String idCardCode;

    @ApiModelProperty(value = "身份证正面")
    @URL(message = "请填写正确的身份证正面链接")
    private String idCardFront;

    @ApiModelProperty(value = "身份证反面")
    @URL(message = "请填写正确的身份证反面链接")
    private String idCardBack;

//    @ApiModelProperty(value = "合同")
//    @NotBlank(message = "加盟合同不能为空")
//    @URL(message = "请填写正确的合同链接")
//    private String contract;

    @ApiModelProperty(value = "创建时间")
    @NotBlank(message = "创建时间不能为空")
    private String createDate;

//    @ApiModelProperty(value = "平台隐私协议")
//    @URL(message = "请填写正确的平台隐私协议")
//    private String privacyAgreement;

//    @ApiModelProperty(value = "承揽协议")
//    @NotBlank(message = "承揽协议不能为空")
//    @URL(message = "请填写正确的合同链接")
//    private String taxContract;

//    @ApiModelProperty(value = "认证图片")
//    @URL(message = "请填写正确的认证图片链接")
//    private String attestationPicture;

//    @ApiModelProperty(value = "常驻地址")
//    private String address;

//    @ApiModelProperty(value = "认证视频")
//    @URL(message = "请填写正确的认证视频链接")
//    private String attestationVideo;

//    @ApiModelProperty(value = "主要技能")
//    private String skill;


}